Alaska, 2003 - 2018
Creating an Rmarkdown (HTML, PDF, or Word) document using Rstudio is simple and convenient with the “Knit” button. However, when you use this button a version of the knitted document is saved in the current working directory. This example covers how to save the document in another location and replicate similar reports but for different regions.
For this example we’re going to use data available on the Alaska Open data Portal located at: https://data.alaska.gov/ Specifically, we will connect to the “Teen Birth Rates Age Group 15-19 in AK by Borough 2003 through 2018” API in the “Health” portal.
These data were originally obtained from the CDC and are now hosted on the Open data Portal by Russ Schmidt.
This simple report provides a trend line and table of the teen birth rate in the Bethel region.
Plot with table of teen birth rates in Alaska.
End of example